package scu.maqiang.meshgeneration;

import scu.maqiang.mesh.Mesh3T3S;
import scu.maqiang.mesh.MeshFormat;

public class Mesh3T3STest {
    public static void main(String[] args) {
        String fileName = "CurvedMesh.mesh";
        Mesh3T3S mesh = new Mesh3T3S();
        mesh.readMesh(MeshFormat.mesh, fileName);
        mesh.toTecplot("CurvedMesh.dat");
        fileName = "CurvedMesh2.mesh";
        mesh.readMesh(MeshFormat.mesh, fileName);
        mesh.toTecplot("CurvedMesh2.dat");
        fileName = "CurvedBallMesh.mesh";
        mesh.readMesh(MeshFormat.mesh, fileName);
        mesh.toTecplot("CurvedBallMesh.dat");
        fileName = "CurvedBallMesh2.mesh";
        mesh.readMesh(MeshFormat.mesh, fileName);
        mesh.toTecplot("CurvedBallMesh2.dat");

        fileName = "PeriodicMesh.mesh";
        mesh.readMesh(MeshFormat.mesh, fileName);
        mesh.toTecplot("PeriodicMesh.dat");
    }
}
